package conceptmaniax.hotelapp.pojos;

import java.util.ArrayList;
import java.util.List;

public class Request {
	
	private int id;
	private String notes;
	private String inserted_time;
	private String requested_time;
	private String menu_name;
	private List<String> services;
	
	public Request() {
		super();
	}
	
	public Request(String id, String notes, String inserted_time, String requested_time, String menu_name) {
		this.id = Integer.parseInt(id);
		this.notes = notes;
		this.inserted_time = inserted_time;
		this.requested_time = requested_time;
		this.menu_name = menu_name;
		this.services = new ArrayList<String>();
	}
	
	public void addService (String service) {
		this.services.add(service);
	}
	
	public int getId () {
		return this.id;
	}
	
	public String getNotes () {
		return this.notes;
	}
	
	public String getInserted_time () {
		return this.inserted_time;
	}
	
	public String getRequested_time () {
		return this.requested_time;
	}
	
	public String getMenu_name () {
		return this.menu_name;
	}
	
	public List<String> getServices () {
		return this.services;
	}

	@Override
	public String toString() {
		return id +","+ notes +","+ inserted_time +","+ requested_time +","+ menu_name +","+ services;
	}
}